package com.carlosk.kandicar.domain.http.workflow;

import java.util.ArrayList;
import java.util.HashMap;

import com.carlosk.kandicar.domain.BaseDomain;
import com.carlosk.kandicar.domain.http.TaskDocFileDomain;
import com.carlosk.kandicar.domain.http.TaskDocNode;
import com.lidroid.xutils.db.annotation.Transient;

/**
 * 流程处理的发起人处理
 * 
 * @author carlos carlosk@163.com
 * @version 创建时间：2014年5月31日 下午3:02:23
 */

public class WorkFlowFormBackRespone extends BaseDomain {
	private WorkFlowViewWorkFlow workflow;
	private ArrayList<WorkFlowViewDefinition> definition;
	private ArrayList<WorkFolwFormDraftWritableProperty> writableProperty;
	private TaskDocNode node;
	private WorkFlowFormDraftHolidayTotal holidayTotal;
	private String formId;
	private String tableId;
	private WorkFlowFormDraftLeaveTotal leaveTotal;
	private WorkFlowFormDraftUserInfo userInfo;
	private ArrayList<WorkFlowViewJsonData> jsonData;
	// 这是本地制作的数据
	@Transient
	private HashMap<String, ArrayList<TaskDocFileDomain>> fileMap = new HashMap<String, ArrayList<TaskDocFileDomain>>();

	public HashMap<String, ArrayList<TaskDocFileDomain>> getFileMap() {
		return fileMap;
	}

	public void setFileMap(HashMap<String, ArrayList<TaskDocFileDomain>> fileMap) {
		this.fileMap = fileMap;
	}

	public WorkFlowFormDraftHolidayTotal getHolidayTotal() {
		return holidayTotal;
	}

	public void setHolidayTotal(WorkFlowFormDraftHolidayTotal holidayTotal) {
		this.holidayTotal = holidayTotal;
	}

	public WorkFlowFormDraftLeaveTotal getLeaveTotal() {
		return leaveTotal;
	}

	public void setLeaveTotal(WorkFlowFormDraftLeaveTotal leaveTotal) {
		this.leaveTotal = leaveTotal;
	}

	public ArrayList<WorkFlowViewJsonData> getJsonData() {
		return jsonData;
	}

	public void setJsonData(ArrayList<WorkFlowViewJsonData> jsonData) {
		this.jsonData = jsonData;
	}

	public WorkFlowViewWorkFlow getWorkflow() {
		return workflow;
	}

	public void setWorkflow(WorkFlowViewWorkFlow workflow) {
		this.workflow = workflow;
	}

	public ArrayList<WorkFlowViewDefinition> getDefinition() {
		return definition;
	}

	public void setDefinition(ArrayList<WorkFlowViewDefinition> definition) {
		this.definition = definition;
	}

	public ArrayList<WorkFolwFormDraftWritableProperty> getWritableProperty() {
		return writableProperty;
	}

	public void setWritableProperty(
			ArrayList<WorkFolwFormDraftWritableProperty> writableProperty) {
		this.writableProperty = writableProperty;
	}

	public TaskDocNode getNode() {
		return node;
	}

	public void setNode(TaskDocNode node) {
		this.node = node;
	}

	public String getFormId() {
		return formId;
	}

	public void setFormId(String formId) {
		this.formId = formId;
	}

	public String getTableId() {
		return tableId;
	}

	public void setTableId(String tableId) {
		this.tableId = tableId;
	}

	public WorkFlowFormDraftUserInfo getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(WorkFlowFormDraftUserInfo userInfo) {
		this.userInfo = userInfo;
	}

	@Override
	public String toString() {
		return "WorkFlowFormBackRespone [workflow=" + workflow
				+ ", definition=" + definition + ", writableProperty="
				+ writableProperty + ", node=" + node + ", holidayTotal="
				+ holidayTotal + ", formId=" + formId + ", tableId=" + tableId
				+ ", leaveTotal=" + leaveTotal + ", userInfo=" + userInfo
				+ ", jsonData=" + jsonData + "]";
	}

}
